package com.jinzhi.jinzhidata.service;

import com.jinzhi.jinzhidata.dataobject.User;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author vansl
 * @description
 * @date 2019-12-28 11:54
 **/
public interface UserService {

    User userLogin(Map<String, String> map);

    User selectUserByUserWeChatId(String openid);

    User selectUserByUserId(String userId);

    Integer updateUserBalance(String userId, BigDecimal changedBalance);

    User updateUserInfo(User user);

    User selectUserByUserPhone(String userPhone);

}
